<?php
class Del_View_Helper_CleanToSearch 
	extends Zend_View_Helper_Abstract
{
	public function cleanToSearch( $text )
	{
		return 
			str_replace( 
				array('á','é','í','ó','ú','ü'), 
				array('a','e','i','o','u','u'), 
				strtolower( trim($text) )
			);			
	}
}